package com.mall.sun.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * description: 用户评价传输类 <br>
 * date: 2021/12/8 19:31 <br>
 * author: ztz <br>
 * version: 1.0 <br>
 */
@Data
public class UserAdviceDTO {
    private Integer adviceId;
    private String userName;
    private Integer orderId;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;
    private Integer pleased;
    private String advice;
}
